package cn.edu.scau.cmi.wujiaxian.comprehensive.model;

public class Course {
	
	private Integer id;
	private String name; //课程名称
	private String courseNumber; //课程编号
	private Integer teacherId; //任课老师
	private Integer clazzId; //该课程有的班级
	
	private Teacher teacher;
	private Clazz clazz;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCourseNumber() {
		return courseNumber;
	}
	public void setCourseNumber(String courseNumber) {
		this.courseNumber = courseNumber;
	}
	public Integer getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}
	public Integer getClazzId() {
		return clazzId;
	}
	public void setClazzId(Integer clazzId) {
		this.clazzId = clazzId;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public Clazz getClazz() {
		return clazz;
	}
	public void setClazz(Clazz clazz) {
		this.clazz = clazz;
	}
	
	@Override
	public String toString() {
		return "Course [id=" + id + ", name=" + name + ", courseNumber=" + courseNumber + ", teacherId=" + teacherId
				+ ", clazzId=" + clazzId + ", teacher=" + teacher + ", clazz=" + clazz + "]";
	}

}
